package com.shuqing.service.impl;

import com.shuqing.dao.UserMapper;
import com.shuqing.domain.User;
import com.shuqing.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: ShuqingLibrary
 * @ClassName UserServieImpl
 * @description:
 * @author: Ats
 * @create: 2025-03-31 10:58
 * @Version 1.0
 */

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;
    @Override
    public User login(User user) {
        return userMapper.login(user);
    }
}
